package visualizer.drawable;

import processing.core.PGraphics;

public class DrawableDecorator implements Drawable {
	private Drawable inner;

	public DrawableDecorator(Drawable inner)
	{
		this.inner = inner;
	}
	
	public Drawable getInnerObject()
	{
		return inner;
	}
	
	public void draw(PGraphics g)
	{
		getInnerObject().draw(g);
	}

	public boolean isEnabled() {
		return getInnerObject().isEnabled();
	}

	public void setEnabled(boolean status) {
		getInnerObject().setEnabled(status);
	}
}
